package com.taobao.api.response;

import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.TaobaoObject;

import com.taobao.api.TaobaoResponse;

/**
 * TOP API: taobao.omniorder.store.sdtstatus response.
 * 
 * @author top auto create
 * @since 1.0, null
 */
public class OmniorderStoreSdtstatusResponse extends TaobaoResponse {

	private static final long serialVersionUID = 2873476956933483682L;

	/** 
	 * result
	 */
	@ApiField("result")
	private Result result;


	public void setResult(Result result) {
		this.result = result;
	}
	public Result getResult( ) {
		return this.result;
	}
	
	/**
 * data
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class SdtStatusResponse extends TaobaoObject {

	private static final long serialVersionUID = 6171976113523361784L;

	/**
		 * packageId
		 */
		@ApiField("order_id")
		private Long orderId;
		/**
		 * 取消原因
		 */
		@ApiField("reason_desc")
		private String reasonDesc;
		/**
		 * 状态 0 取号，1 已发货 -1 商家取消 -2 运力端取消
		 */
		@ApiField("status")
		private Long status;
		/**
		 * 卖家ID，通sellerID
		 */
		@ApiField("user_id")
		private Long userId;
	

	public Long getOrderId() {
			return this.orderId;
		}
		public void setOrderId(Long orderId) {
			this.orderId = orderId;
		}
		public String getReasonDesc() {
			return this.reasonDesc;
		}
		public void setReasonDesc(String reasonDesc) {
			this.reasonDesc = reasonDesc;
		}
		public Long getStatus() {
			return this.status;
		}
		public void setStatus(Long status) {
			this.status = status;
		}
		public Long getUserId() {
			return this.userId;
		}
		public void setUserId(Long userId) {
			this.userId = userId;
		}

}

	/**
 * result
 *
 * @author top auto create
 * @since 1.0, null
 */
public static class Result extends TaobaoObject {

	private static final long serialVersionUID = 7143367436325365679L;

	/**
		 * data
		 */
		@ApiField("data")
		private SdtStatusResponse data;
		/**
		 * 异常码 0  正常，否则异常
		 */
		@ApiField("err_code")
		private String errCode;
		/**
		 * 异常信息
		 */
		@ApiField("message")
		private String message;
	

	public SdtStatusResponse getData() {
			return this.data;
		}
		public void setData(SdtStatusResponse data) {
			this.data = data;
		}
		public String getErrCode() {
			return this.errCode;
		}
		public void setErrCode(String errCode) {
			this.errCode = errCode;
		}
		public String getMessage() {
			return this.message;
		}
		public void setMessage(String message) {
			this.message = message;
		}

}



}
